import request from 'utils/request'

//获取秒杀列表
export function GetSeckillActivityByPage(data) {
  return request({
    url: '/Activity/GetSeckillActivityByPage',
    method: 'post',
    data
  })
}
//获取拼团列表
export function GetGroupProductPage(data) {
  return request({
    url: '/Activity/GetGroupProductPage',
    method: 'post',
    data
  })
}
//获取当前时间
export function GetNowTime() {
  return request({
    url: '/Activity/GetNowTime',
    method: 'get',
  })
}
//获取秒杀时间段列表
export function GetSeckillStartTimeList(data) {
  return request({
    url: '/Activity/GetSeckillStartTimeList',
    method: 'post',
    data
  })
}
//获取秒杀详情信息
export function GetSeckillPageDataInfo(params) {
  return request({
    url: '/Activity/GetSeckillPageDataInfo',
    method: 'post',
    params
  })
}
//获取促销列表
export function GetSalesPolicyList(params) {
  return request({
    url: '/Order/GetSalesPolicyList',
    method: 'get',
		params
  })
}
//秒杀提交订单
export function GoSubmitSeckillOrderPage(data) {
  return request({
    url: '/Activity/GoSubmitSeckillOrderPage',
    method: 'post',
    data
  })
}
